package org.darcy.service.work.impl;

import java.util.List;

import org.darcy.entity.WorkRole;
import org.darcy.framework.generic.GenericServiceImpl;
import org.darcy.service.work.WorkRoleService;
import org.springframework.stereotype.Service;

/**
 * WorkRole服务实现
 */
@Service
public class WorkRoleServiceImpl extends GenericServiceImpl<WorkRole> implements WorkRoleService {

	@Override
	public WorkRole getDetail(Integer id) {
		WorkRole record = super.getById(id);
		return record;
	}

	@Override
	public List<WorkRole> getList() {
		List<WorkRole> list = super.getList(null);
		return list;
	}

}
